﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for ExhibitionInfo
/// </summary>
public class ExhibitionInfo
{
    private int exhibitionID;
    private string exhibitionName;
    private string topic;
    private DateTime dateStart;
    private DateTime dateEnd;
    private string place;
    private string organizer;

    #region properties
    public string Organizer
    {
        get { return organizer; }
        set { organizer = value; }
    }

    public string Place
    {
        get { return place; }
        set { place = value; }
    }

    public DateTime DateEnd
    {
        get { return dateEnd; }
        set { dateEnd = value; }
    }

    public DateTime DateStart
    {
        get { return dateStart; }
        set { dateStart = value; }
    }

    public string Topic
    {
        get { return topic; }
        set { topic = value; }
    }

    public string ExhibitionName
    {
        get { return exhibitionName; }
        set { exhibitionName = value; }
    }

    public int ExhibitionID
    {
        get { return exhibitionID; }
        set { exhibitionID = value; }
    }
    #endregion

    #region constructors
    public ExhibitionInfo()
	{
        exhibitionID = -1;
        exhibitionName = "";
        topic = "";
        dateStart = new DateTime();
        dateEnd = new DateTime();
        place = "";
        organizer = "";
    }

    public ExhibitionInfo(int _exhibitionID, string _exhibitionName, string _topic, DateTime _dateStart, 
        DateTime _dateEnd, string _place, string _organizer)
    {
        this.exhibitionID = _exhibitionID;
        this.exhibitionName = _exhibitionName;
        this.topic = _topic;
        this.dateStart = _dateStart;
        this.dateEnd = _dateEnd;
        this.place = _place;
        this.organizer = _organizer;
    }
    #endregion
}